package com.huluobo.lib_base.net

/**
 *  Created by LC on 2025/9/28.
 */
object Const {
    const val BASE_URL = "http://10.161.9.80:7012"
    const val PARAM_TOKEN = "token"
    const val MEDIA_TYPE = "application/json;charset=utf-8"

    //登录
    const val PARAM_USERNAME = "username"
    const val PARAM_PASSWORD = "password"
    const val URL_LOGIN = "/user/loginjson"

    //注册
    const val PARAM_RE_PASSWORD = "repassword"
    const val URL_REGISTER = "/user/register"

    //视频
    const val URL_GET_VIDEOS = "/video/findVideos"
    const val PARAM_CURRENT_PAGE = "currentPage"
    const val PARAM_PAGE_SIZE = "pageSize"

    //点赞
    const val URL_LIKE_VIDEO = "/fav/love"
    const val PARAM_VIDEO_ID = "videoId"
    const val URL_UN_LIKE_VIDEO = "/fav/nolove"

    //关注
    const val URL_FOLLOW_AUTH = "/guanzhu/guanzhu"
    const val PARAM_AUTH_NAME = "authname"

    //评论
    const val URL_GET_COMMENT="/comment/getCommentByVideoId"
}